package com.zjy.service;

import com.zjy.bean.GoodsCategory;

import java.util.List;

/**
 * Created by Administrator on 2019/4/11.
 */
public interface GoodsCategoryService {
    int checkExistType(int type);

    void addGoodsCategory(GoodsCategory goodsCategory);

    int deleteGoodsCategoryById(String categoryId);

    int updateGoodsCategoryById(GoodsCategory goodsCategory);

    GoodsCategory selectGoodsCategoryById(String categoryId);

    List<GoodsCategory> selectAllGoodsCategory();
}
